package com.youlai.boot.modules.content.converter;

import org.mapstruct.Mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youlai.boot.modules.content.model.entity.LzLink;
import com.youlai.boot.modules.content.model.form.LzLinkForm;

/**
 * 友链对象转换器
 *
 * @author lz006891
 * @since 2025-02-25 10:49
 */
@Mapper(componentModel = "spring")
public interface LzLinkConverter{

    LzLinkForm toForm(LzLink entity);

    LzLink toEntity(LzLinkForm formData);
}